<?php
include_once 'controller/default.php';
include_once 'model/banner/process.php';
    if(isset($_GET)){
        $banner = new banner();
        $delete = $banner->Delete($_GET);
        if($delete){
            echo '<script>alert("Xóa Banner thành công.")</script>';
            include 'view/category/banner_manager.php';
        }else{
            echo '<script>alert("Xóa Banner thất bại.")</script>';
            include 'view/category/banner_manager.php';
        }
    }
?>